package service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import dao.FoodDAO;
import pojo.Food;

@Service
public class FoodServiceImpl implements FoodService {
	@Autowired
	private FoodDAO dao;
	
 
	@Override
	public List<Food> queryall(){
		return dao.queryAll();
	}
	
}






